package com.quectel.core.module.grid.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/02/03 16:42
 */
@Data
@TableName("grid_notice_relation")
public class GridNoticeRelationEntity {

    /**
     * ID
     */
    @TableId
    private Long id;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 网格通知公告id
     */
    private Long gridNoticeId;

    /**
     * 来源类型1街道2小区3网格
     */
    private Byte sourceType;

    /**
     * 来源:街道编码,小区id 网格id
     */
    private String sourceId;

    /**
     * 1已读0未读
     */
    private Byte readStatus;


}
